updated cmd cycle