replace the package