Updates NoteWidget directive to update api when textarea changes