update category loop doc