change redirection rules