change the route method