UPDATE SITE, PARTY SET SITE.OJB_CONCRETE_CLASS = "net.sourceforge.fenixedu.domain.ScientificAreaSite" WHERE PARTY.OJB_CONCRETE_CLASS = "net.sourceforge.fenixedu.domain.organizationalStructure.ScientificAreaUnit" AND SITE.OJB_CONCRETE_CLASS <> "net.sourceforge.fenixedu.domain.ScientificAreaSite" AND PARTY.KEY_SITE = SITE.ID_INTERNAL;