I am just changing thw psu part of the charger . The charging circuit is separate from it so.....In almost every case, using a PSU to charge batteries is a bad idea.
Charging lithium packs with anything other than a charger designed for the job is positively dangerous!