update url rewrite rule