updated the batch analysis