Second Amendment to Stock Purchase Agreement