'Updates the Role instance identified by sid
:param sid: Role instance identifier
:param permission: Role permission
:return: Updated instance'

def update(self, sid, permission, **kwargs):

    kwargs['permission'] = permission
    return self.update_instance(sid, kwargs)
