Added function for modifying entry
Implemented queries for notebooks.