Small fix to the upgrade script

- location of the upgrade sql script fixed