update toggle style