Update intermediate.php