code: def update(self, sample_sid=values.unset, status=values.unset):
          
          data = values.of({'SampleSid': sample_sid, 'Status': status, })
  
          payload = self._version.update(
              'POST',
              self._uri,
              data=data,
          )
  
          return QueryInstance(
              self._version,
              payload,
              assistant_sid=self._solution['assistant_sid'],
              sid=self._solution['sid'],
          )
docs: Update the QueryInstance
  
          :param unicode sample_sid: The SID of an optional reference to the Sample created from the query
          :param unicode status: The new status of the resource
  
          :returns: Updated QueryInstance
          :rtype: twilio.rest.autopilot.v1.assistant.query.QueryInstance