- added edit functionality for Appointment
- format date-structure