docs: def put(self, method, params):
          """
          Post changes back to DocumentCloud
          """
          # Prepare the params, first by adding a custom command to
          # simulate a PUT request even though we are actually POSTing.
          # This is something DocumentCloud expects.
          params['_method'] = 'put'
          # Some special case handling of the document_ids list, if it exists
          if params.get("document_ids", None):
              # Pull the document_ids out of the params
              document_ids = params.get("document_ids")
              del params['document_ids']
              params = urllib.parse.urlencode(params, doseq=True)
              # These need to be specially formatted in the style documentcloud
              # expects arrays. The example they provide is:
              # ?document_ids[]=28-boumediene&document_ids[]=\
              # 207-academy&document_ids[]=30-insider-trading
              params += "".join([
                  '&document_ids[]=%s' % id for id in document_ids
              ])
          # More special case handler of key/value data tags, if they exist
          elif params.get("data", None):
              # Pull them out of the dict
              data = params.get("data")
              del params['data']
              params = urllib.parse.urlencode(params, doseq=True)
              # Format them in the style documentcloud expects
              # ?data['foo']=bar&data['tit']=tat
              params += "".join([
                  '&data[%s]=%s' % (
                      urllib.parse.quote_plus(key.encode("utf-8")),
                      urllib.parse.quote_plus(value.encode("utf-8"))
                  ) for key, value in
                  data.items()
              ])
          else:
              # Otherwise, we can just use the vanilla urllib prep method
              params = urllib.parse.urlencode(params, doseq=True)
  
          # Make the request
          self._make_request(
              self.BASE_URI + method,
              params.encode("utf-8"),
          )