update batch example