work on edit appt functionality.