update command line main