Example publish now uses observeChanges