# IStreamQueueCheckpointer&lt;TCheckpoint&gt;.Update(TCheckpoint, DateTime, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.istreamqueuecheckpointer-1/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.istreamqueuecheckpointer-1/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Streaming/PersistentStreams/IStreamQueueCheckpointer.cs#L76)

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

Updates the checkpoint.

### Parameters

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