Updated the routes and config