You updated User Data but new instances still use old scripts. Why?
New instances keep using old user‑data because Auto Scaling launches them from the existing launch template/configuration, and user data only runs on first boot, so updating user data on a running instance does not change what the ASG uses.