SECOND AMENDMENT TO WARRANT AGENCY AGREEMENT