updating routes file