cleaned up modify functions in Notebook class