fix typo, and add a process state transfer diagram