AMENDMENT no. 2 to CREDIT AGREEMENT