Update noteService.js