updating appointment by dragging