Updating the s3 endpoint definition