update createPackage interface