# EventHubCheckpointer.Update(string, DateTime, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubcheckpointer/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.eventhubcheckpointer/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubCheckpointer.cs#L115)

```csharp
public void Update(string offset, DateTime utcNow, CancellationToken cancellationToken)
```

Updates the checkpoint.

### Parameters

- `offset` (`string`): The checkpoint offset.
- `utcNow` (`DateTime`): The current UTC time.
- `cancellationToken` (`CancellationToken`): The cancellation token.
