How to async update field value depending on other fields? - TanStack