updated togglers

the toggle code was outdated, fixed with new code.