Update MagNode.java