Update BatchProcessor.java