Update treeview on data change