updated tree stuff.