Update modified function of s3boto.py