Update function on_same_tax_branch.