update MeasureContract.java