update category mapping