add a new note ,search and replace