update rewrite lib to 9.1.0