changing primary key to the ami-id