updating the views for dashboard