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

:param unicode activity_sid: The activity_sid
:param unicode attributes: The attributes
:param unicode friendly_name: The friendly_name
:param bool reject_pending_reservations: The reject_pending_reservations

:returns: Updated WorkerInstance
:rtype: twilio.rest.taskrouter.v1.workspace.worker.WorkerInstance