use promise to sync read notes