added upgrade sql migration script