update api server url