Update view.php