update category matching