Cadence Contract update or Remove issue

I am trying to update or remove contract but unable to do so. Any suggestion would be appreciable. You can see remove contract transaction below:
https://testnet.flowscan.org/transaction/a56c4838188112c59890664013945e3c0a83813fde49c3a01ce69fea0dcfcb8a
updating the contract shows this issue:
https://testnet.flowscan.org/transaction/30d6b8045ebf8f839fcd01e1af98866395398dd34653c311bfadfebb48d8bbc1/script

Hi @saadtroon, I understand you are trying to update a contract on tesnet and getting a capability type mismatch for the Admin Resource.

I suggest deleting any resources used by the AdminResource and follow the steps outlined here: