FIRST AMENDMENT TO CREDIT AGREEMENT AND GUARANTY AND SECURITY AGREEMENT