This is because of some free app that you have installed. There is no connection between pie update and adds. Install the app in the link. It's developed by samsung to trace the apps which are sending adds, random vibrations, notifications etc. Install the app and run it. After you see the add open the app again and it will show you the source of adds. Uninstall the app which shows add.