how to update the querry data if any mutation occurred - TanStack