change generate org tree approach