Updated formulas for notifications.