add edit route generation