Amended and Restated Promissory Note