'Update the RoleInstance
:param unicode permission: The permission
:returns: Updated RoleInstance
:rtype: twilio.rest.chat.v2.service.role.RoleInstance'

def update(self, permission):

    data = values.of({'Permission': permission})
    payload = self._version.update('POST', self._uri, data=data)
    return RoleInstance(self._version, payload, service_sid=self._solution['service_sid'], sid=self._solution['sid'])
