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

:param unicode friendly_name: A string to describe this resource
:param unicode max_size: The max number of calls allowed in the queue

:returns: Updated QueueInstance
:rtype: twilio.rest.api.v2010.account.queue.QueueInstance