implemented s3 sync