in reply to DBI Update dynamically

If you have a primary key then maybe use REPLACE

poj