I pull the insoles out and throw everything in the wash on an easy cycle if they get smelly.
Best way to prevent the smell is to get them dry quickly. I point my blower fan directly at the shoes on a high setting immediately after a wet ride and they’re dry within an hour or two.