i think that during flush it is too late to do this, unless you recompute. why you need to persist again i don't know, that seems weird.