updates to view handling