update contract tools for v2.0