Update NMS.java