Set up the update record functions