update s3 code in gatway mount