auto update menu in index.php