insert/delete notes functions