Fix other SQL issue in updater