update notebooks to use new buffer api