updated view so its in a table