Replace an existing element with a new one.
replace(oldCard, updatedCard); Copy
replace(oldCard, updatedCard);
Replace an existing element with a new one.