fixed refreshing data in tree