update

fun update(vararg fields: Selectable): Pipeline(source)

Writes each document of the previous stages back to its path, with fields set under their aliases; the stored document is replaced, so fields earlier stages removed are removed from it too. Creates no documents.