update view for appointments