update routes model