update modules collection to currently used ones