update trainer to bootstrap 3