Your gut biome also has an effect. I couldn't tell which made more difference because I did both at the same time, moving away from processed foods, removing sugar wherever I could, and cooking from primary ingredients.
For some, reducing meat also has an effect.
Also, you may need to control the bacteria on your skin with salt based products like Crystal deodorant.
It'd hit you like a wall.