updates bower.json and package.json