updating the notifications