Update notebook.cpp