def update(self, sample_sid=values.unset, status=values.unset):
data = values.of({'<STR_LIT>': sample_sid, '<STR_LIT>': status, })<EOL>payload = self._version.update(<EOL>'<STR_LIT:POST>',<EOL>self._uri,<EOL>data=data,<EOL>)<EOL>return QueryInstance(<EOL>self._version,<EOL>payload,<EOL>assistant_sid=self._solution['<STR_LIT>'],<EOL>sid=self._solution['<STR_LIT>'],<EOL>)<EOL>
Update the QueryInstance

:param unicode sample_sid: An optional reference to the Sample created from this query.
:param unicode status: A string that described the query status. The values can be: pending_review, reviewed, discarded

:returns: Updated QueryInstance
:rtype: twilio.rest.preview.understand.assistant.query.QueryInstance