changing schema of licenses table