update([ 'value' => $cpuInfo ]); UsageCounter::where('name', 'Memory')->update([ 'value' => $memoryInfo ]); } }