Update collection.cpp