Update resource.view.php