FIRST AMENDMENT TO CREDIT AGREEMENT AND TO SECURITY AND PLEDGE AGREEMENT