The XML files containing modules metadata don't exist in a fresh installation
so the update_modules function is doing nothing, so a new function to create or
update a relevant modules XML file was created