Now update UI thread inside the background thread.  Must be refactored!!!