create save method in Appointments