Implement sync of s3-related tables#1