try to have ubuntu images auto update the ami-id
complete auto update code for ubuntu images