updateCoeffs written down (to be refined)