update db:add primary key to tables