refresh ui when tree reloads