update subscriptions on publish and delete