update to router and views