Update portal.php