update the host