configure edit route