update the command matrix