update package.json retrieve rule