update codebook and run_analysis