Update as Amazon S3 API has changed.