fix bug, add sync with server after update and delete notes
fix bug, add sync with server after update and delete notes