update toggle panel