update game status code working