update toggle functionality on checkbox group