Fixed tree view updating