Update randomNumber