update category model