update for command line terminal