> For the complete documentation index, see [llms.txt](https://yupana-finance.gitbook.io/yupana-document-portal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yupana-finance.gitbook.io/yupana-document-portal/developer-space/interestrate-contract/admin-methods/updateadmin.md).

# updateAdmin

Sets `address` value to storage `admin`.

### Usage

{% tabs %}
{% tab title="🌮 Taquito" %}

```typescript
const newAdmin = "tz1...";
const interest = await tezos.contract.at(interestModelAddress);
const operation = await interest.methods.updateAdmin(newAdmin).send();
await operation.confirmation();
```

{% endtab %}

{% tab title="🐍   Pytezos" %}

```python
interest = ContractInterface.from_michelson(code) # or client.contract(contract_address)...
call = interest.updateAdmin("tz1...")
opg = call.inject()
```

{% endtab %}
{% endtabs %}
