updating routes