fixing the notification update problem