update maingame