Edit routes class