commit code for updating an existing table.