update function setMergedConfig in Core\Module