update command input parsing