update category collection to maintain proper lifecycle events