changes in routes and database