update neighbor-joining nb