init lottery game
update database