code: def put(self, id):
          
  
          collection_name = self.request.headers.get("collection")
  
          if not collection_name:
              self.raise_error(400, "Missing a collection name header")
  
          self.client = BaseAsyncMotorDocument("%s_revisions" % collection_name)
  
          super(self.__class__, self).put(id)
docs: Update a revision by ID
  
          :param id: BSON id
          :return: