function detector = update_detector(options_osvm,data_nlb,detector)
    TP_lbs = ones(1,size(data_nlb,1));
    cur_osvm = libsvmtrain(TP_lbs',data_nlb,options_osvm);
    detector{size(detector,1)+1,1} = cur_osvm;
end