update routes to use regex