You should set only if value changed. Here the object will be marked as changed even if you didn't edit the properties.