update contract tool