To be technically correct, the GPS does not update the IRS. The IRS provides attitude information to the flight instrumentation and position information to the FMC.
That is, the IRS is a sensor input to the FMC, the GPS is also a sensor input to the FMC. It is the FMC that navigates the aircraft.