Upgrade packages in the AMI

Review 1425 by @mglukhovsky