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