updated views and routes