updated models so that variant data now includes the type and value