added editAppointmentDate()