changing date for appointment code