Only run on writing.
Introduced a new global to switch write-only updating on or off.