edit ERD

edit the ERD diagram.
@mnzaki please look and merge.