Update API doc for notifications.