fix(migration): optimize service module backfill with indexed batch upserts