Update code for bootstrap 3