Update primary key in 3 functions

dbmng_duplicate
dbmng_duplicate
dbmng_update
Update primary key in layout_table_body