Implementation of a new function for handling nuclear data of outgoing particles and residual excitation states in PHITS | Synapse