update route
new method of routes.