Update component /tree-controller.js