Laravel how to update value in mysql only if value is changed
<p>I'm new to Laravel. All I'm trying to do is as follow:</p>

<p>I have some fields in my form like <strong>TITLE, DESCRIPTION</strong>.</p>

<p><strong>TITLE</strong> field is unique in database.</p>

<p>This is what I've done to update my values.</p>

<pre><code>$product              = Product::find($id); 
$product-&gt;title       = $request-&gt;title;
$product-&gt;description = $request-&gt;description;
$product-&gt;save();
</code></pre>

<p>But this will give error (that value already exists) as my <strong>TITLE</strong> field is unique. </p>

<p>All I want to is update my <strong>TITLE</strong> only if the <strong>TITLE</strong> value is changed otherwise update the same value but update other fields. Thanks </p>