updated schema, now includes categories