Updating batch demo example