Fix excludedFields for updated document