Update database hosts.