Update s3 configuration.