Update view.class.php