upgrade EDI
fix defaults
fix metadata completeness