Turn the updateindex module into a function that runs after each module run
Once, legacy/trac#20350 (moved) is in place. updateindex can be plainly added as a function that runs after each module run.
Once, legacy/trac#20350 (moved) is in place. updateindex can be plainly added as a function that runs after each module run.