def update(self, capacity=values.unset, available=values.unset):
data = values.of({'<STR_LIT>': capacity, '<STR_LIT>': available, })<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return WorkerChannelInstance(<EOL>self._version,<EOL>payload,<EOL>workspace_sid=self._solution['<STR_LIT>'],<EOL>worker_sid=self._solution['<STR_LIT>'],<EOL>sid=self._solution['<STR_LIT>'],<EOL>)<EOL>
Update the WorkerChannelInstance

:param unicode capacity: The total number of Tasks worker should handle for this TaskChannel type.
:param bool available: Toggle the availability of the WorkerChannel.

:returns: Updated WorkerChannelInstance
:rtype: twilio.rest.taskrouter.v1.workspace.worker.worker_channel.WorkerChannelInstance