Added method updateAppointment in each layer