update template and bower.json