update for main Activity