update the window UI to tree table format