update directive for bootstrap3