updated routes and url for index