Update s3helper.php