So why the change of heart? Well Sofia has a scheduling conflict with Modern Family.
According to The Hollywood Reporter Nicole is in serious talks to take over the part.
However, she just had a child via surrogate, so will her schedule allow?
The film also stars Matthew McConaughey and Zac Efron.