updating system var properly on start/stop