updated runs view to grab runs from pgsql