Rewrites update