how to best update path params? - TanStack