update TousseInstance set wrapperCode=(select max(name) from SS_USERS where fullName=TousseInstance.wrapper) where wrapper is not null and wrapper!='' and wrapperCode is null;