change route method