update the alert helper