Improved evaluation of the hadronic vacuum polarization contributions to muon g-2 and $\alpha_{QED}$ (m(z) ) using high order QCD calculations