update code in save file to s3 bucket