add example of set public data for a switch