/** * Update the specified resource in storage. * * @param int $id * * @return array * * @throws NotFoundHttpException * @throws PasswordNotValidException */ public function update($id) { $this->registrar->update($id); return ['message' => 'Updated']; }