update dependencies package and use package.json to update