code: def update(self, data):
          
          data = values.of({'Data': serialize.object(data), })
  
          payload = self._version.update(
              'POST',
              self._uri,
              data=data,
          )
  
          return DocumentInstance(
              self._version,
              payload,
              service_sid=self._solution['service_sid'],
              sid=self._solution['sid'],
          )
docs: Update the DocumentInstance
  
          :param dict data: The data
  
          :returns: Updated DocumentInstance
          :rtype: twilio.rest.preview.sync.service.document.DocumentInstance