update provision to enable rewriting