before updating samples display
updated data flow