update dot.tran
add ask function. use ask function for config