modify a package structure.