public function checkUpdates() { return json(['latest' => $this->getUpdateInfo('latest_version'), 'available' => $this->newVersionAvailable()]); }