Magma upgrade