add notification observing db changes.