update toogle demo