update result in text view