AMENDMENT NO. 1 TO SECURITY AGREEMENT July 30, 2004