implemented updating UI textview from background thread