updats to aws s3 connection