Add update category functionality.