update s3 credentials