update appointment update/create logic
update