added rho and sigma update.