update url rewrite