update the code for the change in the database