update notification flags