Update Tree.js