upgrade vars