Update MGObj.java