changes to category model