Lottery functionality update