Update cmdchain and command to provide state