update display after every command execution