Update run_analysis, not sure the functions work or not.