some changes in category model