SECOND AMENDING AGREEMENT (July 31, 2008 Note Agreement)