Change upgrade sql script