updated the appointment data fetch from staff side