update treeview for selectType