update for hg build