Updating views. Adding sortable tables