update document and package.json settings