add routes to links