Database changeAppointment