Update resource.inc.php