Update tree-view.js