update public/index.php