Updated amazon to set cache