update lottery demo