Update update_record.js

fixing lack of self awareness