update routes (array)