Update viewandcompare.php