add in a separate observer to communicate updates to the CLI
fix syntax error