def update(self, role_sid=values.unset, attributes=values.unset,<EOL>friendly_name=values.unset):
data = values.of({'<STR_LIT>': role_sid, '<STR_LIT>': attributes, '<STR_LIT>': friendly_name, })<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return UserInstance(<EOL>self._version,<EOL>payload,<EOL>service_sid=self._solution['<STR_LIT>'],<EOL>sid=self._solution['<STR_LIT>'],<EOL>)<EOL>
Update the UserInstance

:param unicode role_sid: The SID id of the Role assigned to this user
:param unicode attributes: A valid JSON string that contains application-specific data
:param unicode friendly_name: A string to describe the resource

:returns: Updated UserInstance
:rtype: twilio.rest.chat.v2.service.user.UserInstance