update monitor switch with param