Updating ecu & tcm at dealer

Hi everyone I been having a hard time setting my egr/vvt monitor to pass smog in california another owner told Me to try n update the ecu & tcm Is there any truth to that? All monitors are set besides the egr/vvt thanks.