Basic gamestate updating