Sync data in batches to avoid string overflow