notifications()->value()); try { $notifications[$group][$notificationId]['isRead'] = true; } catch (\Throwable $th) { //throw $th; } $this->update([ "notifications" => $notifications ]); return $notifications; };