update metadata at convergence step.