AMENDED AND RESTATED MASTER LINE OF CREDIT NOTE