How to update the state of a paged query manually? - TanStack