update batches