added refreshing tree after insert

added refreshing tree after insert