Update viewterms.php