Update tree and print tree methods implemented