layout updating of index.php