update Category and Itempage class