Edit in JSFiddle

this.setState(({data}) => ({
    	data: update(data, {
		    	gameTurn: {$apply: gameturn => 3 - gameturn},
		    	player1: {turn: {$apply: value => !value}},
		    	player2: {turn: {$apply: value => !value}},
  		})
}));