Minor fix for updater script

Fix for updater script (bad sql statement)