finished function to refresh table views
changed unpublisheddate to unpublished_date
added installation queries and xml, created migration queries,