public function updateTranslations($params, $type)
    {
        if (is_null($translations = array_get($params, 'name'))) {
            return false;
        }
        try {
            DB::transaction(function() use($translations, $type) {
                foreach ($translations as $id => $value) {
                    $where        = [
                        'id'   => $id,
                        'area' => $type
                    ];
                    $model        = $this->makeModel()->newQuery()->where($where)->first();
                    $model->value = $value;
                    $model->save();
                }
            });
            return true;
        } catch (Exception $ex) {
            Log::emergency($ex);
            return false;
        }
    }