fixed edit note but there is still a problem with routes for adding a new note