working update to view