Change route endpoint