Update of the source codes for CPU and Xeon Phi