add sync notify demo behavior
Change main.js