SECOND AMENDMENT TO PROMISSORY NOTE (AMENDED AND RESTATED)