AMENDMENT NO. 3 TO THE CREDIT AGREEMENT