# Upgrade from contracts-ethereum-package to contracts-upgradeable on existing contract and got error "Proxy admin is not the one registered in the network manifest"

**URL:** <https://forum.openzeppelin.com/t/upgrade-from-contracts-ethereum-package-to-contracts-upgradeable-on-existing-contract-and-got-error-proxy-admin-is-not-the-one-registered-in-the-network-manifest/6083>\
**Category:** Upgrades\
**Created:** [March 4, 2021, 3:13am UTC](https://forum.openzeppelin.com/t/upgrade-from-contracts-ethereum-package-to-contracts-upgradeable-on-existing-contract-and-got-error-proxy-admin-is-not-the-one-registered-in-the-network-manifest/6083 "2021-03-04T03:13:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![abcoathup](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/abcoathup/32/415_2.png) [@abcoathup](https://forum.openzeppelin.com/u/abcoathup)\
**Post date:** [March 4, 2021, 4:24am UTC](https://forum.openzeppelin.com/t/upgrade-from-contracts-ethereum-package-to-contracts-upgradeable-on-existing-contract-and-got-error-proxy-admin-is-not-the-one-registered-in-the-network-manifest/6083/2 "2021-03-04T04:24:47Z")

</div>

Hi @leckylao,

When you test an upgrade on the fork (without first doing a deploy), the ProxyAdmin for your proxy isn’t registered in your network file.

To test an upgrade, you can do a `deployProxy` and then an `upgradeProxy`. The `deployProxy` will deploy the implementation contract, the ProxyAdmin and the proxy. The `upgradeProxy` will deploy the new implementation contract and update the proxy with the new implementation contract address. See: [https://docs.openzeppelin.com/upgrades-plugins/1.x/truffle-upgrades#test-usage](https://docs.openzeppelin.com/upgrades-plugins/1.x/truffle-upgrades#test-usage)

For an example test, see BoxV2.proxy.test.js in: [OpenZeppelin Upgrades: Step by Step Tutorial for Truffle](https://forum.openzeppelin.com/t/openzeppelin-upgrades-step-by-step-tutorial-for-truffle/3579)

---

_[View the full topic](https://forum.openzeppelin.com/t/upgrade-from-contracts-ethereum-package-to-contracts-upgradeable-on-existing-contract-and-got-error-proxy-admin-is-not-the-one-registered-in-the-network-manifest/6083)._
