inject note name and id to the new note created