updates routes to use a version number