updating sync code to ACTUALLY WORK. it broken when i implemented notes moving between projects.