---
title: changeTokenUpdatedBlock
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckfetchdatabasechangesoperation/changetokenupdatedblock
---

# changeTokenUpdatedBlock

The closure to execute when the change token updates.

## Declaration

```swift
var changeTokenUpdatedBlock: ((CKServerChangeToken) -> Void)? { get set }
```

## Discussion

Discussion The closure executes periodically, and provides a new change token so that you don’t need to refetch previously fetched record zone changes in a subsequent operation.

## See Also

### Processing the Operation’s Results

- [recordZoneWithIDChangedBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidchangedblock.md)
- [recordZoneWithIDWasDeletedBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwasdeletedblock.md)
- [recordZoneWithIDWasDeletedDueToUserEncryptedDataResetBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwasdeletedduetouserencrypteddataresetblock.md)
- [recordZoneWithIDWasPurgedBlock](cloudkit/ckfetchdatabasechangesoperation/recordzonewithidwaspurgedblock.md)
- [fetchDatabaseChangesCompletionBlock](cloudkit/ckfetchdatabasechangesoperation/fetchdatabasechangescompletionblock.md)
