update routes template