Update tree. add print