Update HM.java