update runServer with set cmd