update views to pull data from mongo