update toggle method