Update get-category-outside-the-loop