addn new host and remove old one