Update index.php for slim