using the hidden form elements is the right approach, but I dont understand why you are using both an update and an insert?
you don't appear to be retuning a record to update using a recordset, the update is only updating these two columns?
I dont see the purpose behind the update.