AMENDMENT No. 3 TO CREDIT AGREEMENT