UPDATES a single object in Vingd Object registry.
        
        :type oid: ``bigint``
        :param oid:
            Object ID of the object being updated.
        :type name: ``string``
        :param name:
            New object's name.
        :type url: ``string``
        :param url:
            New callback URL (object's resource location).
        
        :rtype: `bigint`
        :returns: Object ID of the updated object.
        :raises GeneralException:
        
        :resource: ``registry/objects/<oid>/``
        :access: authorized user MUST be the object owner

def update_object(self, oid, name, url):
        """
        UPDATES a single object in Vingd Object registry.
        
        :type oid: ``bigint``
        :param oid:
            Object ID of the object being updated.
        :type name: ``string``
        :param name:
            New object's name.
        :type url: ``string``
        :param url:
            New callback URL (object's resource location).
        
        :rtype: `bigint`
        :returns: Object ID of the updated object.
        :raises GeneralException:
        
        :resource: ``registry/objects/<oid>/``
        :access: authorized user MUST be the object owner
        """
        r = self.request(
            'put',
            safeformat('registry/objects/{:int}/', oid),
            json.dumps({
                'description': {
                    'name': name,
                    'url': url
                }
            })
        )
        return self._extract_id_from_batch_response(r, 'oid')