updating cmd command