making sure notebook is properly updated