update Category class