update serial command