change routes to match server