An update of the generator of atmospheric muons from parametric formulas (MUPAGE)