indexing input elements for saved and newly added routes.