A leisure centre is set to undergo a £6.3 million renovation to improve efficiency and cut carbon emissions