update contract import data sql