def update(self, *args, **kwargs):
if request.method == '<STR_LIT>':<EOL><INDENT>logging.warning("<STR_LIT>")<EOL><DEDENT>resource = super(JsonServerResource, self).update(*args, **kwargs)<EOL>if resource:<EOL><INDENT>return resource<EOL><DEDENT>else:<EOL><INDENT>return NOT_FOUND<EOL><DEDENT>
Modifies the parameters and adds metadata for update results.

        Currently it does not support `PUT` method, which works as replacing
        the resource. This is somehow questionable in relation DB.