made updateGameStatus it’s own method