update build garph correct the pair name order