Update notification logic