[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Storage](https://evolu.dev/docs/api-reference/common/local-first/Storage) › updateOwnerUsage

```ts
function updateOwnerUsage(
  deps: SqliteDep,
): (
  ownerIdBytes: Uint8Array<ArrayBufferLike> &
    Brand<"Length16"> &
    Brand<"IdBytes"> &
    Brand<"OwnerIdBytes">,
  storedBytes: number & Brand<"Int"> & Brand<"NonNegative"> & Brand<"Positive">,
  firstTimestamp: Uint8Array<ArrayBufferLike> &
    Brand<"Length16"> &
    Brand<"TimestampBytes">,
  lastTimestamp: Uint8Array<ArrayBufferLike> &
    Brand<"Length16"> &
    Brand<"TimestampBytes">,
) => void;
```

Defined in: [packages/common/src/local-first/Storage.ts:1619](https://github.com/evoluhq/evolu/blob/e7144e2bbe9069362b62dec1b64a8aa922b8f1b0/packages/common/src/local-first/Storage.ts#L1619)

Updates timestamp bounds in evolu_usage table.

Used by both relay and client to maintain firstTimestamp/lastTimestamp after
processing messages.