Update createtree.sql