mage 1.8.1 upgrade