Implement collection.update(document)