in reply to updating a database

I think the error is not in the update code.
Boris