AMENDMENT NO. 5 TO MASTER SERVICES AGREEMENT