added detailed comments to updateCollections.js to explain the session duration cleanup