added updating tree element name