Update status of batches.