the problem is code order.
the recordset is created before the update record code.
so when the update button is pressed, the record is created with the old data, then the data is updated, then the page displays.
reorder the code so that the recordset code is after the update record code, this way the record will be updated, then the recordset will be created.