# How it works
# Adding data
When adding data, the Merkle tree changes as well, as shown in the diagram.
# Checking data consistency
The following diagram explains how data is inserted, verified and consistency checked.
# immugw communication
immugw can be found in its own repository
immugw proxies REST client communication and gRPC server interface. For security purposes, immugw should not run on the same server as immudb. The following diagram shows how the communication works: