update toggle line