added a sql updater to compare results