update api server domain