edited Amazon S3 bucket end point
fix S3 on heroku