update note view and note edit