update notifications functionality