public function save()
    {
        $response = $this->client->put('/{id}', [$this->data->code], $this->data);

        if (! $response->hasErrors()) {
            $this->event->dispatch('PLAN.UPDATE', new PlansEvent($this->data));
        }

        return $this;
    }