updated routes and files