Bản ghi email: Mechanism for adaptive remodeling of the bacterial flagellar switch