updated visit details page