Update category functionality