update documentation for rewrite