Changed method updateAppointment, now it's returning Appointment