update batch and treatment config