Fix record update