Changed editAppointmentById