Using new four-loop results for the heavy quark vacuum polarization and new data for bottom quark production in electron-positron annihilation, an update on the determination of charm- and bottom-quark masses through sum rules has been performed. The previous result for the charm-quark mass, mc(3GeV)=0.986(13)GeV, based on the lowest moment, is supported by the new results from higher moments which lead to consistent values with comparable errors. The new value for the bottom quark, mb(10GeV)=3.610(16)GeV, corresponding to mb(mb)=4.163(16)GeV, makes use both of the new data and the new perturbative results and is consistent with the earlier determination.