improved stragity for refreshing text tree