updating plots and codes

updating plots and codes