AMENDMENT NO. 3 TO CREDIT AGREEMENT and AMENDMENT NO. 1 TO COLLATERAL AGREEMENT