updated the source with the new Notification API