How to edit appointment