Update lottery.php