update and add a new note