fix record update from patient