code: def update(collection_name, upsert, multi, spec,
             doc, safe, last_error_args, check_keys, opts, ctx=None):
      
      if ctx:
          return _update_compressed(
              collection_name, upsert, multi, spec, doc, check_keys, opts, ctx)
      return _update_uncompressed(collection_name, upsert, multi, spec,
                                  doc, safe, last_error_args, check_keys, opts)
docs: Get an **update** message.