Main ERD editted