Replace five _.each calls
Collect all changed attributes and then setting them together

Instead of doing it individually.
Safeguard transform decomposition