Updated upgrade sql script
Update db schema