update added print tree