Variation of entanglement entropy in scattering process