changed the way to notify messages from knockout to amplify pub/sub feature