Update rewrite