update for handle text result