Upgrade instance mananger fails

OS Name/Version: Ubuntu 22.04.4 LTS

Product Name/Version: (AMP 2.4.0.8

Problem Description:
I get ADS upgrade required to version 2.5.0.14. sudo apt upgrade ampinstmgr gives:
ampinstmgr is already the newest version (2.4.0.8)

If you’re sharing console output, logs, or commands you have run, please make sure to use

Steps to reproduce:

Open application manager,
get ads upgrade warning message
follow link to update instructions"
sudo apt update
sudo apt upgrade
e.g. sudo apt upgrade ampinstmgr
sudo apt upgrade ampinstmgr
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
ampinstmgr is already the newest version (2.4.0.8).

do this
sudo su -l
bash <(wget -qO- getamp.sh) addRepo
apt update && apt upgrade -y
su -l amp
ampinstmgr upgradeall

the repo key that is on your system is just out of date and this will fix it for you if you follow it how i put it