upgrade table layout to new ui