update router and styling