updated topic.php