updates routes of items.