updating tree