update package.json & constructor