update api server demo