More logging for batch sql update