Fixed the update-tree.html template so that editTreeView works