How to handle updates through websocket? - TanStack