update batch