boolean multi = UpdateFlag.MULTI_UPDATE.isSet(flags);
BSONObject selector = bsonDecoder.decodeBson(buffer);
BSONObject update = bsonDecoder.decodeBson(buffer);
log.debug("update {} in {}", selector, fullCollectionName);
return new MongoUpdate(channel, header, fullCollectionName, selector, update, upsert, multi);
}