Second Amendment to Note Purchase Agreement