Update collection.ts