set new buffer on batch