Update GPVAL_* variables after a refresh command