change buffer api name