# The customer information is overwritten

<a id="blue-starhttps-maestrelatlassiannet-wiki-s-2141288751-6452-1a940726dccdfd22f4f3d128e6624577122d8c54-_-images-icons-emoticons-72-1f914png-problem"></a>

## ![(blue star)](https://maestrel.atlassian.net/wiki/s/-2141288751/6452/1a940726dccdfd22f4f3d128e6624577122d8c54/_/images/icons/emoticons/72/1f914.png)

 Problem

When a new reservation is added, the information of the customer for other reservations is updated to the last customer information.

<a id="blue-starhttps-maestrelatlassiannet-wiki-s-2141288751-6452-1a940726dccdfd22f4f3d128e6624577122d8c54-_-images-icons-emoticons-72-1f331png-solution"></a>

## ![(blue star)](https://maestrel.atlassian.net/wiki/s/-2141288751/6452/1a940726dccdfd22f4f3d128e6624577122d8c54/_/images/icons/emoticons/72/1f331.png)

 Solution

Each customer ID is associated to an email address. If a reservation is received or added with an existing email address, then HBook retrieves the customer information associated to that customer ID. The customer data is updated with the latest one known. 

1. In **HBook > Details form**, you can select which field are related to the “Customer” and which fields are associated to the “Reservation”. A field linked to the “Reservation” will not be updated. Only “Customer” fields are updating when they are not the same for a new reservation with the same email address.
2. When adding reservations manually from the back-end, you should either include the customer email or leave the email field empty. If empty, HBook creates a new customer.
3. If you work with a travel agency that does the reservations on your website on behalf of the customer, you should add new fields to the **HBook > Details form**. You can add a new “Email” field to separate the customer email and the agency email, for example.