update tools and KunduAndTree.java