update edit route