The Gemini Planet Imager (GPI) is a high-contrast adaptive optics instrument designed to detect and characterize substellar companions and circumstellar debris disks around nearby young stars using infrared integral field spectroscopy and polarimetry. GPI has been in routine operations at Gemini South for the past six years and will be transferred to Gemini North in the coming years after an upgrade of several of its components. Because precise astrometry and photometry of exoplanets is critical to GPI's science, we undertook extensive efforts both in-lab and on-sky to refine the astrometric and photometric calibration of the instrument. Here we describe revisions to the GPI Data Reduction Pipeline (DRP) that account for these revised calibrations, and that fix several issues identified over the previous six years, including some subtle issues affecting astrometric calibrations caused by a drift of the instrument's clock. These calibrations are critical for the interpretation of observations obtained with GPI, and for a comparison with measurements from other high-contrast imaging instruments.