Update the table primary key sequence after we're done; Delete existing record before inserting it