Rewriting the Dataset object on yaml update.