Update SQLs.