Edit and update loader data / Update useState after router.invalidate() - TanStack