public function update($name, $value, $autoload = null, $callbacks = true)
    {
        $option = $this
            ->find()
            ->where(['name' => $name])
            ->first();

        if (!$option) {
            return null;
        }

        if ($callbacks) {
            $option->set('value', $value);

            if ($autoload !== null) {
                $option->set('autoload', $autoload);
            }

            return $this->save($option, ['callbacks' => false]);
        }

        return $this->updateAll(['value' => $value], ['name' => $name]);
    }