update category factory