# Getting tx error during update the contract

**URL:** <https://forum.openzeppelin.com/t/getting-tx-error-during-update-the-contract/37637>\
**Category:** Upgrades\
**Tags:** proxies\
**Created:** [August 28, 2023, 9:03pm UTC](https://forum.openzeppelin.com/t/getting-tx-error-during-update-the-contract/37637 "2023-08-28T21:03:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![barakman](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/barakman/32/855_2.png) [@barakman](https://forum.openzeppelin.com/u/barakman)\
**Post date:** [August 28, 2023, 9:29pm UTC](https://forum.openzeppelin.com/t/getting-tx-error-during-update-the-contract/37637/2 "2023-08-28T21:29:06Z")

</div>

> [@Furkan\_Sezal](#):
>
> ```auto
> proxyAdmin.upgrade(proxyAdmin.address, ContractV2.address)
> 
> ```

I personally find the name `proxyAdmin` to be rather confusing.  
There should be a Proxy contract and a Proxy-Admin account, which is typically an externally-owned account (AKA _wallet_).  
Here, you seem to have a "hybrid entity" which refers to the contract but has the name of the wallet.  
So I'm not quite sure how to interpret your code.

That said, you can just try `proxyAdmin.upgradeTo(ContractV2.address)` instead.  
But you'll need to make sure that you execute this transaction using the Proxy-Admin **wallet**.

---

_[View the full topic](https://forum.openzeppelin.com/t/getting-tx-error-during-update-the-contract/37637)._
