added error case which invalid argument may occur to the handleUpdateCommand method in class Analyzer