Update tree file