Setting batch_id on all variants