# Updating / Saving

{% hint style="info" %}
In beta: Save controls will be updated with "Locks" preventing multiple contributors from concurrently saving and overwriting each others' changes.
{% endhint %}

A Knowledge Base's changes are in progress until the Save action is undertaken via the button in the top-right of the screen.

## General Behavior

On Save, several actions will occur:

### 1. Connection is Retested

As a failsafe, the connection is retested in case the form has changed between saves and tests or to flag an intermittence issue. If the connection fails, the user will be asked to confirm if they want to progress forward with a faulty connection.

{% hint style="info" %}
If the connection is faulty, the Knowledge Base will not function as intended. You can choose to accept the connection failure if you plan to solve for it later or aware of a pending solve at source. The Knowledge Base will not be restricted from use in the meantime, though users will receive a warning in Chat if the connection is not detected as healthy.
{% endhint %}

### 2. Validations are Checked

Items like Tables and Fields have validations — the system checks if they exist and can be evaluated. In case of failed validations (e.g., a Field no longer maps correctly to its source) then the UI will similarly flag to the user if they are comfortable proceeding.

{% hint style="info" %}
Validation checks should only be ignored similar to the connection if a solve is imminent or known. If there are widespread validation failures the Knowledge Base will not function correctly. The system leaves the decision to the user's discretion to not block saving and to allow waiting for a solve elsewhere.
{% endhint %}

## Knowledge Base "Locks"

To prevent multiple Contributors in a Knowledge Base from overwriting one another's changes, "locks" are applied to manage edit state.

When a Knowledge Base is not being actively editted by any individual, the first Contributor to select Edit will place a "lock" on the Knowledge Base. This "lock" is effective until the Contributor cancels, saves, closes the window, or times out (\~ 2 hours). While the "lock" is in place, the Edit button is grayed-out for all other Contributors.

You can check the user who has placed the "lock" by hovering over the grayed-out Edit button, which will indicate their name. Once the lock is removed, the Edit button will turn blue once again.


---

# Agent Instructions: 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:

```
GET https://docs.lumi-ai.com/product-features/knowledge-base/updating-saving.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
