setting values as booleans in products model