update scanPackage