update bower.json and package.json