adding attributes dup to not lose the primary key on update