Update rewrite docs index