SECOND Amendment to Master Repurchase and securities contract Agreement