removed erroneous updateCommand implementation