update batch processing to include configurable delay