work on updating and deleting appointments.