update toggle component and add list item with toggle component