editing appointment triggers a text