updated views, and routes