added refreshing tree after insert

added refreshing tree after insert
fixed displaying after insert

fixed displaying after insert
add min, max, sort
Merge remote-tracking branch 'origin/master'