change buffer config