AMENDMENT NO. 1 TO THE CREDIT AGREEMENT AND SECURITY AGREEMENT