Applied template key renaming to failed_batch template