Update viewreq.php