public function update(string $pactJson, string $consumer, string $provider, string $pactDir): bool
    {
        $scripts = $this->installManager->install();

        $arguments   = [];
        $arguments[] = 'update';
        $arguments[] = "--consumer={$consumer}";
        $arguments[] = "--provider={$provider}";
        $arguments[] = "--pact-dir={$pactDir}";
        $arguments[] = "'" . $pactJson . "'";

        $process = new ProcessRunner($scripts->getPactMessage(), $arguments);
        $process->runBlocking();

        \sleep(1);

        return true;
    }