update SupplyRoomConfig set spelling = o.spelling,wbCode = o.wbCode from OrgUnit o where o.orgUnitCoding = SupplyRoomConfig.orgUnitCoding and o.name = SupplyRoomConfig.orgUnitName and orgUnitName is not null;