Conditional scripting during bulk update