change S3 protocol