# GrainStreamQueueCheckpointer.Update(string, DateTime, CancellationToken)

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

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Streaming/Checkpointers/GrainStreamQueueCheckpointer.cs#L205-L228)

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

Updates the checkpoint.

### Parameters

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