update for switches on data module

example updated