update for appointment resource