update main activity UI