Don't use find() and then check if the record exists. Use findOrFail().
1$product = Product::find($id);2if (!$product) {3 abort(404);4}5$product->update($productDataArray);
Shorter way
1$product = Product::findOrFail($id); // shows 404 if not found2$product->update($productDataArray);