change tree travsal