use buffer object

Signed-off-by: dayo7116 <DLi@esri.com>
update

Signed-off-by: dayo7116 <DLi@esri.com>