Add test for update note
Refine update note
Add test get note resources
Refine get note resources