'Update the WorkerInstance
:param unicode activity_sid: The activity_sid
:param unicode attributes: The attributes
:param unicode friendly_name: The friendly_name
:returns: Updated WorkerInstance
:rtype: twilio.rest.taskrouter.v1.workspace.worker.WorkerInstance'

def update(self, activity_sid=values.unset, attributes=values.unset, friendly_name=values.unset):

    data = values.of({'ActivitySid': activity_sid, 'Attributes': attributes, 'FriendlyName': friendly_name})
    payload = self._version.update('POST', self._uri, data=data)
    return WorkerInstance(self._version, payload, workspace_sid=self._solution['workspace_sid'], sid=self._solution['sid'])
