update api host