Second Amendment to Amended and Restated Senior Preferred Stock Purchase Agreement