revalidatePath not working for me for Nextjs 15. So you may try using the following way to redirect and refresh the page to display the latest data. I'm using useSearchParams and router from the modern next/navigation
.
const redirect_path = useSearchParams().get("redirect") || "/";
router.push(redirect_path);
router.refresh();