implementing s3 sync