Added logic to process POSTs for appointment modifications.