Fix typo in collection.set example

The example for collection.set called an undefined function "update".
Merge pull request #2398 from tranver/master

Fix typo in collection.set example