update for data analysis sample