update node version
fix missing new operator
remove to_buffer