update routes.