Follow-up to issue #1123604 by fago: Fixed update hook for generalized "aggregation" data alteration.