Update term.php