updates chi2, remove subscripts from html