updated tree model