update deprecated vars.