Don't write the attribute when value is the same as before

It will trigger unique & foreign key constraints on the database