Update upgrade.sql