updating batch processing - 3