def METHOD_NAME(self, **kwargs: Any) -> None:
    """Save the changes made to the object to the server.
    The object is updated to match what the server returns.
    Args:
        **kwargs: Extra options to send to the server (e.g. sudo)
    Raise:
        GitlabAuthenticationError: If authentication is not correct
        GitlabUpdateError: If the server cannot perform the request
    """
    updated_data = self._get_updated_data()
    # Nothing to update. Server fails if sent an empty dict.
    if not updated_data:
        return
    # call the manager
    obj_id = self.encoded_id
    self.manager.update(obj_id, updated_data, **kwargs)