> For the complete documentation index, see [llms.txt](https://tgbtc.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tgbtc.gitbook.io/docs/whitepaper/key-concepts/additional-components-and-security-mechanisms/consensus-based-system-updates.md).

# Consensus-based System Updates

The TON Teleport BTC system is designed to be flexible and upgradable through validator consensus, ensuring seamless updates and modifications when necessary. This mechanism allows the system to evolve over time, adapt to changing conditions, and respond to new security requirements. Since the system operates within a validator-governed environment, updating contracts through validator consensus is a secure and natural process, aligning with the validators’ role in maintaining the network’s integrity.

Validators can make changes to both the code and state of core contracts by reaching a quorum. This capability allows them to address vulnerabilities, enhance functionality, and manage components such as Inspectors. Contracts in the system are divided into three groups based on their role and mutability:

<figure><img src="/files/He2QejSLi4BR7JQBWCG9" alt=""><figcaption></figcaption></figure>

The ability to update the system through validator consensus ensures long term reliability and integrity. Validators can coordinate to implement new logic, deploy updated utility contracts, and adjust components as needed without compromising the system’s core principles of decentralization and trustlessness.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://tgbtc.gitbook.io/docs/whitepaper/key-concepts/additional-components-and-security-mechanisms/consensus-based-system-updates.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
