edit xep_0050 and add state transition diagram