updating package.json and other misc fixes