Update Mage.cpp