bash script to update docs on s3