Update reference categories.