Update upgrade SQL.