updated category class