added edit button to appointments index