use insert or ignor to update host record