def update(self, friendly_name=values.unset, unique_name=values.unset,<EOL>actions=values.unset, actions_url=values.unset):
data = values.of({<EOL>'<STR_LIT>': friendly_name,<EOL>'<STR_LIT>': unique_name,<EOL>'<STR_LIT>': serialize.object(actions),<EOL>'<STR_LIT>': actions_url,<EOL>})<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return TaskInstance(<EOL>self._version,<EOL>payload,<EOL>assistant_sid=self._solution['<STR_LIT>'],<EOL>sid=self._solution['<STR_LIT>'],<EOL>)<EOL>
Update the TaskInstance

:param unicode friendly_name: A string to describe the resource
:param unicode unique_name: An application-defined string that uniquely identifies the resource
:param dict actions: The JSON string that specifies the actions that instruct the Assistant on how to perform the task
:param unicode actions_url: The URL from which the Assistant can fetch actions

:returns: Updated TaskInstance
:rtype: twilio.rest.autopilot.v1.assistant.task.TaskInstance