modify netbuffer