Rename Hostname Director

Dear community, we use Icingaweb2 with the director. Sometimes it happens that the host name has to be changed. So far I have simply changes the name of the respective host and saved it. Unfortunately, then the history is lost. I asume their is a new host created an the old is inactive or deleted. Im doing something wrong? Eg the name / value Accesspoint-1 is found more than 600 times in the database.