code: def update(self, **kwargs):
          
          data = self._generate_input_dict(**kwargs)
          url = self.parent.url + '/relationship'
          self.load(self.client.put(url, data=data))
          return self
docs: Update a resource by passing in modifications via keyword arguments.