updated toggle class element