update command call for command exit