adds modelmetadata from ModelMetadataProvider