add edit route and controller