They haven't used the food pyramid in nearly ten years: https://en.wikipedia.org/wiki/MyPlate
Harvard has an even better one: https://www.hsph.harvard.edu/nutritionsource/healthy-eating-...
Also, the food pyramids and plates are from the USDA, the federal government. Not a state government like sugar warnings are coming from. So you're talking to two different organizations when you say "before you label sugar, fix the food pyramid".