update https rewrite rule