Update Main Game Code