minor changes to route api