Don't deepcopy the config if the old value is not needed