Update reference to PrimitiveMetadata