dynamically updates chat notifications using pusher