updating note trigger abstractions to use demux insdtead of deprecated switch2