You specifically need to do this: How to update AMP to the latest version
Make sure everything else is up to date too