Force update ui on main thread.