Update sql script.