Update Max.java