You have to rollback/downgrade from beta version to official verson through samsung smart switch. Once u downgrade and restart the phone.. you'll see the latest one ui 8.5 update. But downgrading, you'll loose all the data. So make sure to backup
If u had joined beta program and left the beta before you updated to stable version.. you have to rollback/downgrade from beta version to previous stable version. Only then you'll get the latest stable update and security patch. Check in the beta pro...