Update and rewrite.