Sounds dodgy. Was the update official ota? In any case, don't touch anything to do with the popup, just back out using home key and get on with your life. Wonder through notifications permissions and block things that may be trying to sell you game.
A malwarebytes scan to check for nasty things and worst case scenario, an adblocker... Let us know if anything worked so others with that issue can benefit... Good luck!