AMENDMENT NO. 3 TO MASTER AGREEMENT