edit detail data
edit appointments