I'm not sure how the Imperial Edition upgrade is suppose to work for the retail version. Did you check your Larian Vault account for a DLC code?

If you installed the Steam version, right click on the Divinity: Dragon Commander entry in your library, select Properties and switch to the DLC tab. Is the 'Dragon Commander: Imperial Edition DLC' listed there?

If not, email supportdc@larian.com.