def METHOD_NAME(self, event: Optional[EventData]=None, **kwargs: Any) -> None:
    """Updates the receive checkpoint to the given events offset.
    :param ~azure.eventhub.EventData event: The EventData instance which contains the offset and
     sequence number information used for checkpoint.
    :rtype: None
    """
    if self._checkpoint_store:
        checkpoint_event = event or self._last_received_event
        if checkpoint_event:
            checkpoint = {
                "fully_qualified_namespace": self.fully_qualified_namespace,
                "eventhub_name": self.eventhub_name,
                "consumer_group": self.consumer_group,
                "partition_id": self.partition_id,
                "offset": checkpoint_event.offset,
                "sequence_number": checkpoint_event.sequence_number,
            }
            try:
                self._checkpoint_store.METHOD_NAME(checkpoint, **kwargs)
            except TypeError as e:
                if "update_checkpoint() got an unexpected keyword argument" in str(
                    e
                ):
                    _LOGGER.info(
                        "The provided checkpointstore method 'update_checkpoint' does not accept keyword arguments,"
                        " so keyword arguments will be ignored. Please update method signature to support kwargs."
                    )
                    self._checkpoint_store.METHOD_NAME(checkpoint)
                else:
                    raise e
    else:
        _LOGGER.warning(
            "namespace %r, eventhub %r, consumer_group %r, partition_id %r "
            "update_checkpoint is called without checkpoint store. No checkpoint is updated.",
            self.fully_qualified_namespace,
            self.eventhub_name,
            self.consumer_group,
            self.partition_id,
        )