only save VARs with a changed value