updated category refining