update rest, use local api server