update data and analysis