update index.php layout