Notifications update code