updated cmd structure