update notification function
notification setup