The teams use a single homologated ECU to prevent driver aids. I would assume it doesn’t have a downlink on-track to prevent tampering, but presumably with umbilical cord connected in the garage during red flag they can make changes, which the FIA probably sent over. Who knows.
No this all happened during the formation lap. So teams could clearly push settings changes live.