We have generalized the Pisarsky-Wilczek model of studying the U A(1) phase transition in π0, η and η′ system by incorporating the chiral phase transition. The mass-squared matrix of the neutral pseudoscalar mesons is revisited explicitly from the chiral effective action which necessitates the mixing among the unmixed states to get the physical states. The derivation of the mass spectra of the neutral pseudoscalar mesons shows that apart from their masses, the mixing angles also become temperature dependent. Based on the dilute instanton gas approximation we show that, the UA(1) phase transition along with the chiral phase transition plays an important role in the process of hadronization of the quark-gluon plasma with the quarks of three flavors. © World Scientific Publishing Company.