Update gamestate.js