This is done with a refit. First, copy your design and update the engines and components. Retool your shipyard to the new design. Then, from the shipyard management tab, choose the retooled shipyard and select "refit" from "old design" to "new design." Queue them up, and await your shiney new ships.