update gem to reflact api changes to batch methods