update routes and tests