add ability to edit route, build route on press enter