added notifications on publish