update main UI frame