notes_update: on hitting enter key, saving notes