update routes and log