fix upgrade of commercial edition