updates toggles to work better