Replace AKI Ids with AMI Ids