protected function patchModel($path)
    {
        $resourceName = strtolower($this->model);
        $modelName = $this->configuration['model'];

        $ref = <<<EOF
                        ->arrayNode('$resourceName')
                            ->addDefaultsIfNotSet()
                            ->children()
                                ->scalarNode('model')
                                    ->defaultValue('$modelName')
EOF;

        if ($this->refExist($path, $ref)) {
            return;
        }

        $ref = "->arrayNode('$resourceName')
                            ->addDefaultsIfNotSet()
                            ->children()
                                ->scalarNode('model')";

        $nodeDeclaration = <<<EOF
                                    ->defaultValue('$modelName')
EOF;

        $this->dumpFile($path, "\n" . $nodeDeclaration, $ref);
    }