updated AddNote query