update some bug for categories