Update HEX.scala