update HM trace