Update url rewriting