Follow-up 5f5380e and a42f880e, Fixed crappy coding with sql-update file...

...(Special thanks to QQfoolsorellina)