SECURED RESTATED AND CONSOLIDATED AND CONVERTIBLE NOTE