Not able to delete hosts of old icinga server

I have recently migrated Icinga to a new server. I have restored the configuration and database from the backup of the old server. Now I have deleted some of the hosts’ configurations, but the hosts are still shown in the dashboard. what should I do to remove the host from the dashboard?

have solved it, deleted the host from db