update($data); } public function deleteFaq(string $id): bool { return CourseFaq::find($id)->delete(); } }