adjust branch priorities