Third Amendment to Master Repurchase and securities contract Agreement