updating the notifications UI