Passing debug flag on stat save so the stat script should print out the sql statements just for updates.