update merkmal set mefehlart = floor(meanfindex / 256), meanfindex = mod(meanfindex, 256) where meanfindex > 255 and mefehlart = 0;