update bootstrap switch