update contract tools