update to view and ui