modify the Tree