Use shallow comparison to determine changed attributes