Update deprecated variables.