Consolidating enabled modules in update hook.