Update viewclass.php