Add pre_update variable to objects.