Change reference_id to alert_id