local mage file update