Help - ED1 or ED2 or EA or all 3?

Can he not apply to both and withdraw the ED2 app if accepted at first choice? Just wondering what happens if the ED1 announcement date comes out after the ED2 application deadline. Not seeing how this is necessarily different from pulling all the other apps once getting first ED decision.