# 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 %}
