update deps for rewrite