update the notebook