update s3 uploading for heroku