implement update flag
end of experiment