Fix update SQL script.