Update expandvars.