update views and routes