fix CONFIG_VAR update helper