Update products only when a certain condition is true, e.g. when a custom M2 attribute value is set to 0.