update routes file to new array syntax