edit route done, making delete and replace route